package com.sne.sys.entity;

import com.sne.common.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author fanghh
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysRole对象", description = "角色")
public class SysRole extends BaseModel<SysRole> {

    @ApiModelProperty(value = "角色名称")
    private String roleName;

    @ApiModelProperty(value = "角色编号")
    private String roleCode;

    @ApiModelProperty(value = "描述")
    private String note;

    @ApiModelProperty(value = "数据权限类型")
    private Integer dataType;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

    @ApiModelProperty(value = "排序值")
    private Boolean state;

}
